﻿using System;
using System.Web.Mvc;

namespace ServerMotorManagement.Utilities
{
    public static class HtmlHelpers
    {
        public static String GetDDMMYYYYString(this HtmlHelper helper, Object datetime)
        {
            return String.Format("{0:dd'/'MM'/'yyyy}", datetime);
        }

        //public static MvcHtmlString TextBoxFor<TModel, TValue>(this HtmlHelper<TModel> htmlHelper,
        //    Expression<Func<TModel, TValue>> expression, string formatString)
        //{
        //    MvcHtmlString html = default(MvcHtmlString);
        //    html = InputExtensions.TextBoxFor(htmlHelper, expression);
        //    return html;
        //}
    }
}